<%--
  Created by IntelliJ IDEA.
  User: zcj
  Date: 2023/10/25
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<html>
<head>
    <title>显示文件</title>
</head>
<body>
<table border="1" cellpadding="1">
    <tr>
        <th>序号</th>
        <th>文件名</th>
        <th>文件大小（B）</th>
        <th>创建时间</th>
        <th>上传IP</th>
        <th>下载</th>
        <th>操作</th>
    </tr>
    <jsp:useBean id="upFile1" scope="request" type="java.util.List"/>
    <c:forEach items="${upFile1}" var="file" varStatus="upFile">
        <tr align="center">
            <td>${file.id}</td>
            <td>${file.name}</td>
            <td>${file.Size}</td>
            <td>${file.create_time}</td>
            <td>${file.upload_ip}</td>
            <td><a href="{file.download_link}">下载</a></td>
            <td>
                <a href="/update">修改</a>&nbsp;&nbsp;
                <a href="/？fileId=${file.id}">删除</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
